package org.hxc.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 角色表(SysRole)表实体类
 *
 * @author hxc
 * @since 2024-11-07 15:30:13
 */
@TableName("sys_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SysRole {
    //主键id
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //角色名称
    private String roleName;
    //角色编码
    private String roleCode;
    //描述
    private String description;
    //创建人
    private String createBy;
    //创建时间
    private Date createTime;
    //更新人
    private String updateBy;
    //更新时间
    private Date updateTime;
}

